package appx.craft.droid.utils;

import android.os.Environment;

public class Constance {
	
	public static String APP_HOME = Environment.getExternalStorageDirectory().getPath() + "/AppxHome";
	public static String IMAGE_DIR = APP_HOME + "/images";
	public static String LOG_DIR = APP_HOME + "/crash_log";
	
	
	public static boolean DO_LOGGING = false;
	
    /**
    * verify upload file 
     */
    public static final String VERIFY_HOST = "http://x1.appxcraft.com/AContent/";
	public static final String POST_IMAGE_URL = VERIFY_HOST+"addFeed"; 
	public static final String GET_FEED_URL = VERIFY_HOST+"getFeed";
	public static final String GET_FEED_BY_LATEST = VERIFY_HOST + "getFeedbyLatest";
	
	public static final String INTENT_KEY_IMAGE_PATH = "INTENT_KEY_IMAGE_PATH";
	
	public static final String PARAN_METADATA_IMAGE = "imagedata";
	public static final String PARAM_EMAIL = "email";
	public static final String PARAM_CAPTION = "caption";
	
	public static final String PARAM_OFFSET = "offset";
	public static final String PARAM_LIMIT = "limit";
	public static final String PARAM_LATEST_ID = "LatestID";
	
	public static long MINUTES_SIXTEEN = 60;
	public static long HOURS_ONE_DAY = 24;
	public static long HOURS_TWO_DAY = HOURS_ONE_DAY * 2;
	
	public static final String NUM_VIEWS = "NUM_MESSAGE_VIEWS";
	
	public static final String INTENT_PHOTO_POSITION = "PHOTO_POSITION";
	
	public static final String INTENT_IMAGE_PATH = "INTENT_IMAGE_PATH";
	
	public static final String INTENT_CAPTION = "INTENT_CAPTION";
	
	public static final int LIMIT_PAGE = 10;
	
	
	public static final String VIEW_UPLOAD = "VIEW_UPLOAD";
	
	public static final String VIEW_DOWNLOAD = "VIEW_DOWNLOAD";
	
	public static final String VIEW_PROFILE_ICONS = "VIEW_PROFILE_ICONS";
}
